/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package services.interfaces;

import java.util.Collection;
import javax.ejb.Local;

import models.UserRole;
import models.Users;

/**
 *
 * @author amega
 */

public interface IUserService  extends IGeneric<Users> {
    
    public Collection<Users> getUsersByRole(UserRole role);
    
    public Collection<Users> getUserByPhone(String phone);
    
    public Users getUsersByEmail(String email);
    
    public Users getUsersByNameAndPass(String email,String password);
    
    public Users getUserByName(String name);
    
}
